The expressions "throw away the dirty water" or "pour the dirty water" mean to blame how bad it has happened to someone, either blaming him for a mistake or a failure. Blame, blame, impute, blame, attribute.